home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / msk311.zip / MSIVT3.INI < prev    next >
Text File  |  1991-11-22  |  10KB  |  218 lines

  1. ; VT300.INI - MS-DOS Kermit keyboard setup for DEC VT200-300 series terminals.
  2. ; Originally contributed by Kevin Lowey, University of Saskatchewan Computing
  3. ; Services.  For use only with MS-DOS Kermit 3.10 or later.  Adapted for new
  4. ; features of version 3.10 at Columbia University.  Further modified by Kevin
  5. ; Lowey to correct some problems in the original keyboard layouts.
  6. ;
  7. ; Two different setups are provided, one for the 101-key extended PC keyboard,
  8. ; one for the 88-key original keyboard.  This file (when used with MS-DOS
  9. ; Kermit 3.10 or later, automatically determines which kind of keyboard you
  10. ; have.  See the comments in the file to learn the key assignments.
  11. ;
  12. ; NOTE: The key assignments made by this file comprise just one of an infinite
  13. ; number of possible arrangements.  No two people agree about how best to map
  14. ; DEC keyboard keys to IBM PC keys.  If the mappings done by this file do not
  15. ; suit your taste, feel free to make modifications.
  16. ;
  17. ; Usage: TAKE VT300.INI (or put this command in your MSKERMIT.INI file).
  18. ; If you will be emulating a VT220 or VT320 terminal on a DEC VAX computer 
  19. ; VMS 5.0 or later, also uncomment the following command:
  20. ;
  21. ;;; SET TERMINAL DISPLAY 8
  22.  
  23. ; If you need to use the ISO Latin-1 character set in the 7-bit environment
  24. ; with the host sending Shift-In/Shift-Out (Ctrl-N/Ctrl-O) to switch between
  25. ; ASCII and special characters, uncomment the following command:
  26. ;
  27. ;;; set terminal character-set latin1 G1
  28.  
  29. ; Standard VT terminal settings
  30. ;
  31. set term tabs at 1:8
  32.  
  33. ; Version test
  34. ;
  35. if not < version 310 goto systest
  36. echo VT300.INI requires MS-DOS Kermit Version 3.10 or later.
  37. pop
  38.  
  39. ; System check
  40. ;
  41. :systest
  42. if eq "\v(platform)" "IBM-PC" goto kbtest
  43. echo VT300.INI is only for IBM PCs, PS/2s, and compatibles.
  44. pop
  45.  
  46. ; Automatic keyboard test
  47. ;
  48. :kbtest
  49. if equal "\v(keyboard)" "88" goto kb88
  50. if equal "\v(keyboard)" "101" goto kb101
  51. echo Keyboard type "\v(keyboard)" not supported by VT300.INI.
  52. pop
  53.  
  54. :kb101
  55. echo VT300.INI: IBM-101 Extended Keyboard Setup...
  56. ;
  57. ; ***************** IBM-101 Extended Keyboard Definitions ******************
  58. ;                           IBM KEY              DEC KEY
  59. ; Numeric Keypad
  60. ; There are two definitions for each of the numeric keypad keys,
  61. ; one for when <NUM-LOCK> is pressed, and one when it isn't.
  62. set key \850 \kkp0        ; Keypad 0 (Numlock)   Keypad 0
  63. set key \338 \kkp0        ; Keypad 0 (Normal)    Keypad 0
  64. set key \847 \kkp1        ; Keypad 1 (Numlock)   Keypad 1
  65. set key \335 \kkp1        ; Keypad 1 (Normal)    Keypad 1
  66. set key \848 \kkp2        ; Keypad 2 (Numlock)   Keypad 2
  67. set key \336 \kkp2        ; Keypad 2 (Normal)    Keypad 2
  68. set key \849 \kkp3        ; Keypad 3 (Numlock)   Keypad 3
  69. set key \337 \kkp3        ; Keypad 3 (Normal)    Keypad 3
  70. set key \843 \kkp4        ; Keypad 4 (Numlock)   Keypad 4
  71. set key \331 \kkp4        ; Keypad 4 (Normal)    Keypad 4
  72. set key \844 \kkp5        ; Keypad 5 (Numlock)   Keypad 5
  73. set key \332 \kkp5        ; Keypad 5 (Normal)    Keypad 5
  74. set key \845 \kkp6        ; Keypad 6 (Numlock)   Keypad 6
  75. set key \333 \kkp6        ; Keypad 6 (Normal)    Keypad 6
  76. set key \839 \kkp7        ; Keypad 7 (Numlock)   Keypad 7
  77. set key \327 \kkp7        ; Keypad 7 (Normal)    Keypad 7
  78. set key \840 \kkp8        ; Keypad 8 (Numlock)   Keypad 8
  79. set key \328 \kkp8        ; Keypad 8 (normal)    Keypad 8
  80. set key \841 \kkp9        ; Keypad 9 (Numlock)   Keypad 9
  81. set key \329 \kkp9        ; Keypad 9 (Normal)    Keypad 9
  82.  
  83. set key \334  \kkpminus   ; Keypad +             Keypad -
  84. set key \2382 \kkpcoma    ; ALT Keypad +         Keypad ,
  85. set key \851  \kkpdot     ; Keypad . (Numlock)   Keypad .
  86. set key \339  \kkpdot     ; Keypad . (normal)    Keypad .
  87. set key \4365 \Kkpenter   ; Keypad Enter         Keypad Enter
  88.  
  89.                           ; F1                   PF1 (default Kermit)
  90.                           ; Use programs like GOLD to make NUM-LOCK PF1.
  91. set key \4399 \kPF2       ; Keypad /             PF2
  92. set key \311  \kPF3       ; Keypad *             PF3
  93. set key \330  \kPF4       ; Keypad -             PF4 Key
  94.  
  95. ; F1 thru F20 keys        IBM                    DEC
  96. set key \1374 \kholdscrn  ; Control-F1           F1
  97. set key \1375 \kprtscn    ; Control-F2           F2
  98. set key \1376 \khelp      ; Control-F3           Setup
  99. ; No Definition           ; Control-F4           F4
  100.  
  101.  
  102. ; Default mapping         ; F1                   Gold (PF1)
  103. ; Default Mapping         ; F2                   PF2
  104. ; Default Mapping         ; F3                   PF3
  105. ; Default Mapping         ; F4                   PF4
  106. set key \319 \kbreak      ; F5                   Break
  107. set key \320 \Kdecf6      ; F6                   DEC F6
  108. set key \321 \Kdecf7      ; F7                   DEC F7
  109. set key \322 \KdecF8      ; F8                   DEC F8
  110. set key \323 \KdecF9      ; F9                   DEC F9
  111. set key \324 \KdecF10     ; F10                  DEC F10
  112. set key \389 \kdechelp    ; F11                  DEC Help
  113. set key \390 \kdecdo      ; F12                  DEC Do
  114. set key \2408 \kdecF11    ; Alt-F1               F11
  115. set key \2409 \kdecF12    ; Alt-F2               F12
  116. set key \2410 \kdecF13    ; Alt-F3               F13
  117. set key \2411 \kdecF14    ; Alt-F4               F14
  118. set key \2412 \kdechelp   ; Alt-F5               Help (F15)
  119. set key \2413 \kdecdo     ; Alt-F6               Do (F16)
  120. set key \2414 \kdecF17    ; Alt-F7               F17
  121. set key \2415 \kdecF18    ; Alt-F8               F18
  122. set key \2416 \kdecF19    ; Alt-F9               F19
  123. set key \2417 \kdecF20    ; Alt-F10              F20
  124.  
  125. ; Cursor Keypad
  126. set key \4434 \kdecinsert ; Gray Insert          DEC Insert Here
  127. set key \4435 \kdecRemove ; Gray Delete          DEC Remove
  128. set key \4423 \kdecFind   ; Gray Home            DEC Find
  129. set key \4431 \KdecSelect ; Gray End             DEC Select
  130. set key \4425 \KDecPrev   ; Gray Page Up         DEC Prev Screen
  131. set key \4433 \KDecNext   ; Gray Page Down       DEC Next Screen
  132. pop
  133.  
  134. :kb88
  135. echo VT300.INI: IBM-88 Original Keyboard Setup...
  136. ;
  137. ; Key Definitions:
  138. ;
  139. ; The numeric keypad is mapped as follows:
  140. ;
  141. ;        IBM Function                     VT100 Keys
  142. ;     Normal      Shifted           On the Numeric Keypad
  143. ;  -------------------------      -------------------------
  144. ;  |  F1 |  F2 | SF1 | SF2 |      | PF1 | PF2 | PF3 | PF4 |
  145. ;  |-----+-----+-----+-----|      |-----+-----+-----+-----|
  146. ;  |  F3 |  F4 | SF3 | SF4 |      |  7  |  8  |  9  |  -  |
  147. ;  |-----+-----+-----+-----|      |-----+-----+-----+-----|
  148. ;  |  F5 |  F6 | SF5 | SF6 |      |  4  |  5  |  6  |  ,  |
  149. ;  |-----+-----+-----+-----|      |-----+-----+-----+-----|
  150. ;  |  F7 |  F8 | SF7 | SF8 |      |  1  |  2  |  3  |     |
  151. ;  |-----------+-----|-----|      |-----------+-----|ENTER|
  152. ;  |  F9 | F10 | SF9 | F10 |      |     0     |  .  |     |
  153. ;  -------------------------      -------------------------
  154. ;
  155. ; F9  is defined as DEC's Keypad-0 key.
  156. ; F10 is defined as DEC's Keypad-Enter key.
  157. ; SF9 is defined as DEC's Keypad-DOT key.
  158. ;
  159. ; The DEC F1 to F10 keys are mapped to the PC's Ctrl-F1 through Ctrl-F10 keys.
  160. ; The DEC F11 to F20 keys are mapped to the PC's Alt-F1 to Alt-F10 keys.
  161. ;
  162. ;  Definition               PC key         DEC key
  163. set key \315 \kpf1        ; F1             PF1
  164. set key \316 \kpF2        ; F2             PF2
  165. set key \317 \kkp7        ; F3             Keypad 7
  166. set key \318 \kkp8        ; F4             Keypad 8
  167. set key \319 \kkp4        ; F5             Keypad 4
  168. set key \320 \kkp5        ; F6             Keypad 5
  169. set key \321 \kkp1        ; F7             Keypad 1
  170. set key \322 \kkp2        ; F8             Keypad 2
  171. set key \323 \kkp0        ; F9             Keypad 0
  172. set key \324 \kkpenter    ; F10            Keypad Enter
  173.  
  174. set key \852 \kpf3        ; Shift-F1       PF3
  175. set key \853 \kpf4        ; Shift-F2       PF4
  176. set key \854 \kkp9        ; Shift-F3       Keypad 9
  177. set key \855 \kkpminus    ; Shift-F4       Keypad Minus
  178. set key \856 \kkp6        ; Shift-F5       Keypad 6
  179. set key \857 \kkpcoma     ; Shift-F6       Keypad Comma
  180. set key \858 \kkp3        ; Shift-F7       Keypad 3
  181. set key \859 \kkpenter    ; Shift-F8       Keypad Enter
  182. set key \860 \kkpdot      ; Shift-F9       Keypad Dot
  183. set key \861 \kkpenter    ; Shift-F10      Keypad Enter (duplicate)
  184.  
  185. set key \1374 \kholdscrn  ; Control-F1     F1
  186. set key \1375 \kprtscn    ; Control-F2     F2
  187. set key \1376 \khelp      ; Control-F3     Setup
  188. ; No Definition           ; Control-F4     F4
  189. set key \1378 \kbreak     ; Control-F5     F5
  190. set key \1379 \kdecF6     ; Control-F6     F6
  191. set key \1380 \kdecF7     ; Control-F7     F7
  192. set key \1381 \kdecF8     ; Control-F8     F8
  193. set key \1382 \kdecF9     ; Control-F9     F9
  194. set key \1383 \kdecF10    ; Control-F10    F10
  195.  
  196. set key \2408 \kdecF11    ; Alt-F1         F11
  197. set key \2409 \kdecF12    ; Alt-F2         F12
  198. set key \2410 \kdecF13    ; Alt-F3         F13
  199. set key \2411 \kdecF14    ; Alt-F4         F14
  200. set key \2412 \kdechelp   ; Alt-F5         Help (F15)
  201. set key \2413 \kdecdo     ; Alt-F6         Do (F16)
  202. set key \2414 \kdecF17    ; Alt-F7         F17
  203. set key \2415 \kdecF18    ; Alt-F8         F18
  204. set key \2416 \kdecF19    ; Alt-F9         F19
  205. set key \2417 \kdecF20    ; Alt-F10        F20
  206.  
  207. ; DEC cursor keypad equivalents:
  208. set key \327  \kdecfind   ; Home           Find
  209. set key \335  \kdecselect ; End            Select
  210. set key \329  \kdecprev   ; PgUp           Prev Screen
  211. set key \337  \kdecnext   ; PgDn           Next Screen
  212. set key \330  \kdechelp   ; Keypad -       Help
  213. set key \334  \kdecdo     ; Keypad +       Do
  214. set key \338  \kdecinsert ; Insert         Insert Here
  215. set key \339  \kdecremove ; Del            Remove
  216.  
  217. ; End of VT300.INI
  218.